package com.paobuji.aidebao.myapplication.bean;

import java.io.Serializable;

/**
 * Created by lenovo on 2017/3/13.
 */

public class UserBeanResult implements Serializable{


    /**
     * code : 0
     * msg : 成功
     * data : {"ranking":1,"user":{"id":9,"username":"","usersex":"","birth":"","weight":0,"height":0,"userImg":"","userhobby":"","userphone":"1234567878","userpass":"555","userfrom":"","channelid":"","allDis":0,"allCir":0,"allTime":0,"identified":"4546"}}
     */

    private int code;
    private String msg;
    /**
     * ranking : 1
     * user : {"id":9,"username":"","usersex":"","birth":"","weight":0,"height":0,"userImg":"","userhobby":"","userphone":"1234567878","userpass":"555","userfrom":"","channelid":"","allDis":0,"allCir":0,"allTime":0,"identified":"4546"}
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        private int ranking;
        /**
         * id : 9
         * username :
         * usersex :
         * birth :
         * weight : 0.0
         * height : 0.0
         * userImg :
         * userhobby :
         * userphone : 1234567878
         * userpass : 555
         * userfrom :
         * channelid :
         * allDis : 0.0
         * allCir : 0.0
         * allTime : 0
         * identified : 4546
         */

        public UserBean user;

        public int getRanking() {
            return ranking;
        }

        public void setRanking(int ranking) {
            this.ranking = ranking;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class UserBean implements Serializable{
            private int id;
            private String username;
            private String usersex;
            private String birth;
            private double weight;
            private double height;
            private String userImg;
            private String userhobby;
            private String userphone;
            private String userpass;
            private String userfrom;
            private String channelid;
            private double allDis;
            private double allCir;
            private int allTime;
            private String identified;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getUsersex() {
                return usersex;
            }

            public void setUsersex(String usersex) {
                this.usersex = usersex;
            }

            public String getBirth() {
                return birth;
            }

            public void setBirth(String birth) {
                this.birth = birth;
            }

            public double getWeight() {
                return weight;
            }

            public void setWeight(double weight) {
                this.weight = weight;
            }

            public double getHeight() {
                return height;
            }

            public void setHeight(double height) {
                this.height = height;
            }

            public String getUserImg() {
                return userImg;
            }

            public void setUserImg(String userImg) {
                this.userImg = userImg;
            }

            public String getUserhobby() {
                return userhobby;
            }

            public void setUserhobby(String userhobby) {
                this.userhobby = userhobby;
            }

            public String getUserphone() {
                return userphone;
            }

            public void setUserphone(String userphone) {
                this.userphone = userphone;
            }

            public String getUserpass() {
                return userpass;
            }

            public void setUserpass(String userpass) {
                this.userpass = userpass;
            }

            public String getUserfrom() {
                return userfrom;
            }

            public void setUserfrom(String userfrom) {
                this.userfrom = userfrom;
            }

            public String getChannelid() {
                return channelid;
            }

            public void setChannelid(String channelid) {
                this.channelid = channelid;
            }

            public double getAllDis() {
                return allDis;
            }

            public void setAllDis(double allDis) {
                this.allDis = allDis;
            }

            public double getAllCir() {
                return allCir;
            }

            public void setAllCir(double allCir) {
                this.allCir = allCir;
            }

            public int getAllTime() {
                return allTime;
            }

            public void setAllTime(int allTime) {
                this.allTime = allTime;
            }

            public String getIdentified() {
                return identified;
            }

            public void setIdentified(String identified) {
                this.identified = identified;
            }
        }
    }
}
